package com.hand.Dao;

import com.hand.domain.User;
import com.hand.domain.UserRole;

import java.util.List;

public interface userDao {

    List<User> findAll();

    User findByUserName(User user);

    User findByName(User user);

    List<User> findByRoleId(User user);

    List<UserRole> findByRoleName(UserRole user);

}
